package com.yuan.nacosprovider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName HelloServerController
 * @Description:
 * @Author yuan
 * @Date 2020/8/7 
 * @Version V1.0
 **/
@RestController
public class HelloServerController {

    @GetMapping(value = "hello")
    public String hello(@RequestParam String name){
        return name + ", this is nacos provider";
    }
}
